function urlHtml(params) {
	var ts_href = window.location.href;
	var ts_mainText = "";
	var ts_indexof = ts_href.lastIndexOf("/");
	var ts_indexText = ts_href.substring(ts_indexof + 1);
	ts_mainText = "/" + ts_indexText;
	let arr = [];
	$(".nav_li a").each(function(index, item) {
		arr.push(item.pathname)
		if (ts_mainText == '' || ts_mainText == '/') {
			ts_mainText = '/index.html';
		}
		if (ts_mainText == '/news-bfq.html' || ts_mainText == '/news-fzkj.html' || ts_mainText == '/news-kjds.html') {
			ts_mainText = '/newslist.html';
		}
		if (ts_mainText == arr[index]) {
			item.parentNode.classList.add("active");
			item.parentNode.parentNode.parentNode.classList.add("active");
		}
	})
	return ts_mainText;
}
urlHtml(2);
